home *** CD-ROM | disk | FTP | other *** search
- <?xml version="1.0" encoding="UTF-8" standalone="no"?>
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
- <title>3.7.  Eraser</title>
- <link rel="stylesheet" href="gimp-help-plain.css" type="text/css" />
- <link rel="stylesheet" href="gimp-help-screen.css" type="text/css" />
- <link rel="stylesheet" href="gimp-help-custom.css" type="text/css" />
- <link rel="alternate stylesheet" href="gimp22.css" type="text/css" title="gimp22" />
- <meta name="generator" content="DocBook XSL Stylesheets V1.73.2" />
- <link rel="start" href="index.html" title="GNU Image Manipulation Program" />
- <link rel="up" href="gimp-tools-paint.html" title="3.  Brush Tools" />
- <link rel="prev" href="gimp-tool-paintbrush.html" title="3.6.  Paintbrush" />
- <link rel="next" href="gimp-tool-airbrush.html" title="3.8.  Airbrush Tool" />
- </head>
- <body>
- <div class="navheader">
- <table width="100%" summary="Navigation header">
- <tr>
- <th colspan="3" align="center">3.7. 
- <span lang="en" xml:lang="en">Eraser</span>
- </th>
- </tr>
- <tr>
- <td width="20%" align="left"><a accesskey="p" href="gimp-tool-paintbrush.html"><img src="../images/prev.png" alt="Prev" /></a> </td>
- <th width="60%" align="center">3. 
- <span lang="en" xml:lang="en">Brush Tools</span>
- </th>
- <td width="20%" align="right"> <a accesskey="n" href="gimp-tool-airbrush.html"><img src="../images/next.png" alt="Next" /></a></td>
- </tr>
- </table>
- <hr />
- </div>
- <div class="sect2" lang="en" xml:lang="en">
- <div class="titlepage">
- <div>
- <div>
- <h3 class="title"><a id="gimp-tool-eraser"></a>3.7. 
- <span lang="en" xml:lang="en">Eraser</span>
- </h3>
- </div>
- <div>
- <div class="revhistory">
- <table border="1" width="100%" summary="Revision history">
- <tr>
- <th align="left" valign="top" colspan="3">
- <b>Revision History</b>
- </th>
- </tr>
- <tr>
- <td align="left">Revision $Revision: 2429 $</td>
- <td align="left">2006-06-04</td>
- <td align="left">j.h</td>
- </tr>
- </table>
- </div>
- </div>
- </div>
- </div>
- <a id="id2632070" class="indexterm"></a>
- <a id="id2632083" class="indexterm"></a>
- <a id="id2632092" class="indexterm"></a>
- <div class="figure">
- <a id="id2632105"></a>
- <p class="title">
- <b>Figure 13.59. 
- <span lang="en" xml:lang="en">Eraser tool icon in the Toolbox</span>
- </b>
- </p>
- <div class="figure-contents">
- <div class="mediaobject">
- <img src="../images/toolbox/toolbox-eraser.png" alt="Eraser tool icon in the Toolbox" />
- </div>
- </div>
- </div>
- <br class="figure-break" />
- <p>
- The Eraser is used to remove areas of color from the current layer or from
- a selection of this layer. If the Eraser is used on something that does
- not support transparency (a selection mask channel, a layer mask, or the
- Background layer if it lacks an alpha channel), then erasing will show the
- background color, as displayed in the Color Area of the Toolbox (in case
- of a mask, the selection will be modified). Otherwise, erasing will
- produce either partial or full transparency, depending on the settings for
- the tool options. You can learn more on how to add an alpha channel to a
- layer in <a class="xref" href="gimp-layer-alpha-add.html" title="10.32.  Add Alpha Channel">Section 10.32, “
- <span lang="en" xml:lang="en">Add Alpha Channel</span>
- ”</a>.
- </p>
- <p>
- If you need to erase some group of pixels completely, leaving no trace
- behind of their previous contents, you should check the "Hard edge" box in
- the Tool Options. Otherwise, sub-pixel brush placement will cause partial
- erasure at the edges of the brush-stroke, even if you use a hard-edged
- brush.
- </p>
- <div class="tip" style="margin-left: 0.5in; margin-right: 0.5in;">
- <table border="0" summary="Tip">
- <tr>
- <td rowspan="2" align="center" valign="top" width="25">
- <img alt="[Tip]" src="../images/tip.png" />
- </td>
- <th align="left">Tip</th>
- </tr>
- <tr>
- <td align="left" valign="top">
- <p>
- If you use GIMP with a tablet, you may find it convenient to treat the
- reverse end of the stylus as an eraser. To make this work, all you need
- to do is click the reverse end on the Eraser tool in the Toolbox.
- Because each end of the stylus is treated as a separate input device,
- and each input device has its own separate tool assignment, the reverse
- end will then continue to function as an Eraser as long as you don't
- select a different tool with it.
- </p>
- </td>
- </tr>
- </table>
- </div>
- <div class="sect3" lang="en" xml:lang="en">
- <div class="titlepage">
- <div>
- <div>
- <h4 class="title"><a id="id2632198"></a>3.7.1. 
- <span lang="en" xml:lang="en">How to Activate</span>
- </h4>
- </div>
- </div>
- </div>
- <p>You can activate the Eraser tool in several ways :</p>
- <div class="itemizedlist">
- <ul type="disc">
- <li>
- <p>
- From the image menu through
- <span class="guimenu">Tools</span> ‚Üí <span class="guisubmenu">Paint Tools</span> ‚Üí <span class="guimenuitem">Eraser</span>;
- </p>
- </li>
- <li>
- <p>
- from the Toolbox by clicking on the tool icon
- <span class="guiicon">
- <span class="inlinemediaobject"><img src="../images/toolbox/stock-tool-eraser-22.png" /></span>
- </span>;
- </p>
- </li>
- <li>
- <p>
- or from the keyboard using the shortcut
- <span class="keycap"><strong>Shift</strong></span>+<span class="keycap"><strong>E</strong></span>.
- </p>
- </li>
- </ul>
- </div>
- </div>
- <div class="sect3" lang="en" xml:lang="en">
- <div class="titlepage">
- <div>
- <div>
- <h4 class="title"><a id="id2632303"></a>3.7.2. 
- <span lang="en" xml:lang="en">Key modifiers</span>
- </h4>
- </div>
- </div>
- </div>
- <p>
- See the <a class="xref" href="gimp-tools-paint.html#gimp-tool-brush" title="3.1.  Common Features">Section 3.1, “
- <span lang="en" xml:lang="en">Common Features</span>
- ”</a> for a description of key
- modifiers that have the same effect on all brush tools.
- </p>
- <div class="variablelist">
- <dl>
- <dt>
- <span class="term">
- <span class="keycap">
- <strong>Ctrl</strong>
- </span>
- </span>
- </dt>
- <dd>
- <p>
- For the Eraser, holding down the <span class="keycap"><strong>Ctrl</strong></span> key puts it
- into “<span class="quote">color picker</span>” mode, so that it selects the
- color of any pixel it is clicked on. Unlike other brush tools,
- however, the Eraser sets the <span class="emphasis"><em>background</em></span>
- color rather than the foreground color. This is more useful,
- because on drawables that don't support transparency, erasing
- replaces the erased areas with the current background color.
- </p>
- </dd>
- <dt>
- <span class="term">
- <span class="keycap">
- <strong>Alt</strong>
- </span>
- </span>
- </dt>
- <dd>
- <p>
- For the Eraser, holding down the <span class="keycap"><strong>Alt</strong></span> key switches
- it into “<span class="quote">anti-erase</span>” mode, as described below in the
- Tool Options section. Note that on some systems, the
- <span class="keycap"><strong>Alt</strong></span> key is trapped by the Window Manager. If this
- happens to you, you may be able to use
- <span class="keycap"><strong>Alt</strong></span>+<span class="keycap"><strong>Shift</strong></span>
- instead.
- </p>
- </dd>
- </dl>
- </div>
- </div>
- <div class="sect3" lang="en" xml:lang="en">
- <div class="titlepage">
- <div>
- <div>
- <h4 class="title"><a id="id2632425"></a>3.7.3. 
- <span lang="en" xml:lang="en">Tool Options</span>
- </h4>
- </div>
- </div>
- </div>
- <div class="figure">
- <a id="id2632436"></a>
- <p class="title">
- <b>Figure 13.60. 
- <span lang="en" xml:lang="en">Tool Options for the Eraser tool</span>
- </b>
- </p>
- <div class="figure-contents">
- <div class="mediaobject">
- <img src="../images/toolbox/tool-options-eraser.png" alt="Tool Options for the Eraser tool" />
- </div>
- </div>
- </div>
- <br class="figure-break" />
- <div class="variablelist">
- <dl>
- <dt>
- <span class="term">
- Brush; Pressure sensitivity; Scale; Fade out; Incremental;
- Hard edges
- </span>
- </dt>
- <dd>
- <div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
- <table border="0" summary="Note">
- <tr>
- <td rowspan="2" align="center" valign="top" width="25">
- <img alt="[Note]" src="../images/note.png" />
- </td>
- <th align="left">Note</th>
- </tr>
- <tr>
- <td align="left" valign="top">
- <p>
- See the <a class="link" href="gimp-tools-paint.html#gimp-tool-brush-options" title="3.1.2.  Tool Options">Brush Tools Overview</a> for a
- description of tool options that apply to many or all brush tools.
- </p>
- </td>
- </tr>
- </table>
- </div>
- </dd>
- <dt>
- <span class="term">Opacity</span>
- </dt>
- <dd>
- <p>
- The <span class="guilabel">Opacity</span> slider, in spite of its name,
- determines the “<span class="quote">strength</span>” of the tool. Thus, when
- you erase on a layer with an alpha channel, the higher the
- opacity you use, the more transparency you get!
- </p>
- </dd>
- <dt>
- <span class="term">Anti Erase</span>
- </dt>
- <dd>
- <p>
- The Anti Erase option of the Erase tool can un-erase areas of an
- image, even if they are completely transparent. This feature only
- works when used on layers with an alpha channel. In addition to
- the check-button in the Tool Options, it can also be activated
- on-the-fly by holding down the <span class="keycap"><strong>Alt</strong></span> key (or, if
- the <span class="keycap"><strong>Alt</strong></span> key is trapped by the Window Manager, by
- holding down
- <span class="keycap"><strong>Alt</strong></span>+<span class="keycap"><strong>Shift</strong></span>).
- </p>
- <div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
- <table border="0" summary="Note">
- <tr>
- <td rowspan="2" align="center" valign="top" width="25">
- <img alt="[Note]" src="../images/note.png" />
- </td>
- <th align="left">Note</th>
- </tr>
- <tr>
- <td align="left" valign="top">
- <p>
- To understand how anti-erasing is possible, you should realize
- that erasing (or cutting, for that matter) only affects the
- alpha channel, not the RGB channels that contain the image data.
- Even if the result is completely transparent, the RGB data is
- still there, you simply can't see it. Anti-erasing increases the
- alpha value so that you can see the RGB data once again.
- </p>
- <p>
- An annoying feature: on a layer you have created with a
- transparent background, using anti-erasing on non-painted areas
- paints with black!
- </p>
- </td>
- </tr>
- </table>
- </div>
- </dd>
- </dl>
- </div>
- <div class="tip" style="margin-left: 0.5in; margin-right: 0.5in;">
- <table border="0" summary="Tip">
- <tr>
- <td rowspan="2" align="center" valign="top" width="25">
- <img alt="[Tip]" src="../images/tip.png" />
- </td>
- <th align="left"><a id="change-selection-shape"></a>Tip</th>
- </tr>
- <tr>
- <td align="left" valign="top">
- <a id="id2632620" class="indexterm"></a>
- <p>
- You can use the Eraser tool to change the shape of a floating
- selection. By erasing, you trim the edges of the selection. By
- inverting the selection before floating it, erasing will increase the
- size of a part of the selection.
- </p>
- </td>
- </tr>
- </table>
- </div>
- </div>
- </div>
- <div class="navfooter">
- <hr />
- <table width="100%" summary="Navigation footer">
- <tr>
- <td width="40%" align="left"><a accesskey="p" href="gimp-tool-paintbrush.html"><img src="../images/prev.png" alt="Prev" /></a> </td>
- <td width="20%" align="center">
- <a accesskey="u" href="gimp-tools-paint.html">
- <img src="../images/up.png" alt="Up" />
- </a>
- </td>
- <td width="40%" align="right"> <a accesskey="n" href="gimp-tool-airbrush.html"><img src="../images/next.png" alt="Next" /></a></td>
- </tr>
- <tr>
- <td width="40%" align="left" valign="top"><a accesskey="p" href="gimp-tool-paintbrush.html">3.6. 
- <span lang="en" xml:lang="en">Paintbrush</span>
- </a> </td>
- <td width="20%" align="center">
- <a accesskey="h" href="index.html">
- <img src="../images/home.png" alt="Home" />
- </a>
- </td>
- <td width="40%" align="right" valign="top"> <a accesskey="n" href="gimp-tool-airbrush.html">3.8. 
- <span lang="en" xml:lang="en">Airbrush Tool</span>
- </a></td>
- </tr>
- </table>
- </div>
- </body>
- </html>
-